package com.lyh.example.weixin_demo_back.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

public class LocalLiftColorSub extends LocalLiftColor {
    private String id;
    private String image;
    private String link;

    public LocalLiftColorSub(String id, String image, String link) {
        super(id, image, link);
//        this.id = "6";
//        this.image = "7";
//        this.link = "8";
//        System.out.println("super.getId() = " + super.getId());
//        System.out.println("super.getId() = " + this.getId());
    }


    public static void main(String[] args) {
        final LocalLiftColorSub localLiftColor = new LocalLiftColorSub("1", "2", "3");
        System.out.println("localLiftColor = " + localLiftColor);
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String getImage() {
        return image;
    }

    @Override
    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String getLink() {
        return link;
    }

    @Override
    public void setLink(String link) {
        this.link = link;
    }
}
